package linter.service;

import linter.POJO.DO.Likes;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 北煜
* @description 针对表【likes(点赞情况表)】的数据库操作Service
* @createDate 2024-03-15 11:18:48
*/
public interface LikesService extends IService<Likes> {

    /**
     * @param uuid 点赞用户ID
     * @param postsId 被点赞的文章ID
     * @return 返回点赞成功与否
     */
    String updateUuid(Long uuid, Integer postsId);

    /**
     * @param uuid 点赞用户ID
     * @param postsId 被点赞的文章ID
     * @return 返回点赞成功与否
     */
    String updateLikeByUuid(Long uuid, Integer postsId);
}
